package zy;

public class Producer implements Runnable {
	private Desk d;

	public Producer(Desk d) {
		this.d = d;
	}

	@Override
	public void run() {
		try {
			d.produce();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
